package com.etoak.service;

import com.etoak.entity.User;
import com.etoak.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;

    public User queryUser(int id) {
        return  userMapper.queryUser(id);
    }
}
